package com.wanmei.mapper;

import com.wanmei.pojo.Address;
import com.wanmei.pojo.User;

import java.util.List;

public interface AddressMapper {
    int deleteByPrimaryKey(Integer addressid);

    int insert(Address record);

    int insertSelective(Address record);

    Address selectByPrimaryKey(Integer addressid);

    int updateByPrimaryKeySelective(Address record);

    int updateByPrimaryKey(Address record);
    List<Address> selectAddressByUid(Integer uid);

    List<User> selectAddressByName(String likevalue);//返回用户以及对应的地址列表以及模糊查询功能

}